#include "Task.h"
#include "command.h"
#include <iostream>
#include <sstream>


int main(int argc, char* argv[]) {

Task a = Task::Task();

string cmd = "Add dinner with Chengyi/Chat about Dota2 -str 12.25.2014 6pm-8pm";

string  detailStr = a.getDescription();
vector<string> parsedCmd ;
std::stringstream Parse( cmd );
string word;
while ( Parse >>word )
	parsedCmd.push_back( word );

command::executeCommand(parsedCmd);

system("PAUSE");
return 0;
	
}